//
//  NFuJinCell.m
//  ieGou
//
//  Created by 嚷蜗痕殇心 on 15/1/29.
//  Copyright (c) 2015年 chaox. All rights reserved.
//

#import "NFuJinCell.h"

@implementation NFuJinCell
- (void)dealloc
{
    [_myImage release];
    [_titleLabel release];
    [_xinLabel release];
    [_moneyLabel release];
    [_renLabel release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.myImage = [[UIImageView alloc]init];
        _myImage.backgroundColor = [UIColor cyanColor];
        [self.contentView addSubview:_myImage];
        [_myImage release];
        
        self.titleLabel = [[UILabel alloc]init];
        _titleLabel.text = @"22";
        [self.contentView addSubview:_titleLabel];
        [_titleLabel release];
        
        self.xinLabel = [[UILabel alloc]init];
        _xinLabel.text = @"33";
        [self.contentView addSubview:_xinLabel];
        [_xinLabel release];
        
        self.moneyLabel = [[UILabel alloc]init];
        _moneyLabel.text = @"44";
        [self.contentView addSubview:_moneyLabel];
        [_moneyLabel release];
        
        self.renLabel = [[UILabel alloc]init];
        _renLabel.text = @"55";
        [self.contentView addSubview:_renLabel];
        [_renLabel release];
        
    }
    return self;
}
- (void)layoutSubviews
{
    self.myImage.frame = CGRectMake(10, 10, 90, 60);
    self.titleLabel.frame = CGRectMake(130, 10, 100, 30);
    self.xinLabel.frame = CGRectMake(130, 35, 100, 20);
    self.moneyLabel.frame = CGRectMake(130, 55, 50, 20);
    self.renLabel.frame = CGRectMake(300, 55, 50, 20);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
